/**
 *
 */
package org.yabam.model;

import java.util.HashSet;
import java.util.Set;

/**
 * @author brisssou
 *
 */
public class Account {
	private String number;
	private Set<Owner> owners = new HashSet<Owner>();
	private Bank bank;
	private Set<Operation> operations = new HashSet<Operation>();

	/**
	 * @return the number
	 */
	public String getNumber() {
		return number;
	}

	/**
	 * @param number
	 *            the number to set
	 */
	public void setNumber(String number) {
		this.number = number;
	}

	/**
	 * @return the owners
	 */
	public Set<Owner> getOwners() {
		return owners;
	}

	/**
	 * @param owners
	 *            the owners to set
	 */
	public void setOwners(Set<Owner> owners) {
		this.owners = owners;
	}

	/**
	 * @return the bank
	 */
	public Bank getBank() {
		return bank;
	}

	/**
	 * @param bank
	 *            the bank to set
	 */
	public void setBank(Bank bank) {
		this.bank = bank;
	}

	/**
	 * @return the operations
	 */
	public Set<Operation> getOperations() {
		return operations;
	}

	/**
	 * @param operations
	 *            the operations to set
	 */
	public void setOperations(Set<Operation> operations) {
		this.operations = operations;
	}

}
